Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

번쩍 홈/전체/상세 #984

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from
Open

번쩍 홈/전체/상세 #984

wants to merge 18 commits into from

Conversation

j-nary
Copy link
Member

@j-nary j-nary commented Jan 24, 2025

🚩 관련 이슈

📋 작업 내용

  • 홈 번쩍 캐러셀 API 연결
  • 홈 모임 카드 API 연결
  • 전체모임 API 연결
  • 전체모임 디자인 수정
  • 번쩍 개설 라우팅 fix

📌 PR Point

#976 #976 PR을 머지시켰는데,
PR에 적혀있던 논의사항에 대한 답변 부탁드립니다 !

📸 스크린샷

@j-nary j-nary self-assigned this Jan 24, 2025
Copy link

height bot commented Jan 24, 2025

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@j-nary j-nary deployed to development January 24, 2025 01:44 — with GitHub Actions Active
paths['/user/v2/meeting']['get']['responses']['200']['content']['application/json;charset=UTF-8']['meetings'][number],
'isCoLeader'
> & { isCoLeader?: boolean };
meetingData: MeetingListOfFilterResponse['meetings'][0];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

배열의 정확히 0번째 타입이 필요했던 것일까요?? 그게 아니라면 number 로 적는 것이 일반적이라 number 로 수정해주시면 감사하겠습니다! (나중에 0번째 타입이 필요한 것이라고 헷갈릴 수 있어서요!!)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

그렇네요! 좋은 피드백 감사합니다 :)

@@ -0,0 +1,29 @@
import { getLightningById, GetLightningByIdResponse, getLightningList } from '@api/lightning';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오 훅 정리 감사합니다!!ㅎㅎ

key: '#환영 태그',
Title: () => <STitle>#환영 태그</STitle>,
Content: () => {
console.log(detailData.welcomeMessageTypes);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

콘솔 발견!!

return (
<STarget>
{detailData?.welcomeMessageTypes.map(tag => (
<Chip key={tag} style={{ boxShadow: 'none' }} active>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기 혹시 tag 가 고유한 값이라는 보장이 있을까요??

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네..! 정책상 중복된 값이 들어가지 않습니다!

import { GetLightningByIdResponse } from '@api/lightning';
import { IconLocation } from '@sopt-makers/icons';

export const MeetingDetailList = (detailData: GetMeetingResponse) => [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

컴포넌트 양이 꽤 되는데, meetingDetailList 가 필요할 때에도 전체 페이지가 리렌더링 되고, LightningDetailList 가 필요할 때에도 전체 페이지가 리렌더링되어서 성능 상의 비효율이 발생할 수 있는 지점인 것 같아요!! 두 개의 컴포넌트가 같이 있을 필요가 없으니 둘을 서로 다른 컴포넌트로 분리하면 어떨까요??

Copy link
Contributor

@borimong borimong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다!! 코드 양이 꽤 되는데 고생 정말 많으셨을 것 같아요..!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

번쩍 전체 모임 번쩍 상세
2 participants